Skip to content

fix(osd): speed up Super+P display-mode checkmarks - #1914

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:develop/2500u3from
52cyb:tmp/bug-383567-super-p-2500u3
Dec 2, 2026
Merged

deepin-bot[bot] merged 1 commit into
linuxdeepin:develop/2500u3from
52cyb:tmp/bug-383567-super-p-2500u3

Conversation

@52cyb

@52cyb 52cyb commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #1849 (99a37db) to develop/2500u3.

Removes the fixed OSD dispatch delay, advances display-mode checkmarks on repeat Super+P presses, and refreshes the audio OSD from audio property changes.

PMS: BUG-383567

Summary by Sourcery

Make OSD updates more responsive and keep display-mode and audio indicators in sync with user actions and audio changes.

Bug Fixes:

  • Remove the fixed 100 ms delay before showing OSD notifications, so they appear immediately.
  • Advance the display-mode selection on repeated Super+P presses without first refreshing and resetting the selection.
  • Refresh the audio OSD volume and mute state when the active sink’s audio properties change.

@sourcery-ai

sourcery-ai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Implementation

Track the default audio sink and update cached volume and mute state from D-Bus property changes so the audio OSD stays current.

  • panels/notification/osd/audio/audioapplet.cpp L18-36, L49-62, L80-148 (+5 small edits)
  • panels/notification/osd/audio/audioapplet.h L9-14, L47-55 (+3 small edits)

Cache display-plan validity and refresh display state so repeated mode switches can advance through available plans and recover from failed list reads.

  • panels/notification/osd/displaymode/displaymodeapplet.cpp L116-126, L131-134 (+3 small edits)
  • panels/notification/osd/displaymode/displaymodeapplet.h L77-78, L85

Replace the delayed hide callback with a managed timer and show each OSD request immediately without allowing an earlier hide to truncate it.

  • panels/notification/osd/osdpanel.cpp L51-54, L72-78 (+4 small edits)
  • panels/notification/osd/osdpanel.h L1, L49

UI

Route matching repeat Super+P requests directly to the cached next display mode, while syncing state for other matching OSD requests.

  • panels/notification/osd/displaymode/package/main.qml L21-33

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 3 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="panels/notification/osd/audio/audioapplet.cpp" line_range="80" />
<code_context>
 void AudioApplet::sync()
 {
-    setVolumeValue(fetchVolume());
+    if (const auto sinkPath = fetchDefaultSinkPath())
+        updateDefaultSink(*sinkPath);
+}
</code_context>
<issue_to_address>
**OSD shows stale output state**

When the DefaultSink read fails during an output switch or while an audio OSD request is being synced, `AudioApplet::sync()` leaves `m_sinkPath` and the displayed state unchanged; after an output switch, notifications from the new sink are ignored because their path does not match `m_sinkPath`, so the OSD shows stale output data.

Handle a failed `DefaultSink` read so the cached sink and displayed state cannot remain stale.

Also at `panels/notification/osd/audio/audioapplet.cpp:125`.
</issue_to_address>

### Comment 2
<location path="panels/notification/osd/audio/audioapplet.cpp" line_range="110" />
<code_context>
+        return;
+
+    if (m_sinkPath.isEmpty() || m_sinkPath == QStringLiteral("/")) {
+        m_muted.reset();
+        setVolumeValue(0.0);
+        return;
</code_context>
<issue_to_address>
**Transient reads corrupt audio OSD**

When an invalidated Mute or Volume property is re-read while the audio service returns a D-Bus error, `readSinkState` clears `m_muted` or stores `fetchVolume`’s `0.0` fallback instead of retaining the last valid value, so the visible OSD loses its icon or reports zero volume.

Keep the cached property value when its refresh fails, and update the OSD only with successfully read values.

Also at `panels/notification/osd/audio/audioapplet.cpp:114`.
</issue_to_address>

### Comment 3
<location path="panels/notification/osd/audio/audioapplet.cpp" line_range="128" />
<code_context>
+    return DDBusSender().service(audioService)
+        .path(audioPath)
+        .interface(audioService);
 }

-static DDBusSender audioSinkInter()
</code_context>
<issue_to_address>
**Progress scale stays outdated**

When the audio service changes `IncreaseVolume` while the default sink stays the same, `onAudioPropertiesChanged()` returns without refreshing `m_increaseVolume`, so the visible OSD uses the old progress-bar scale and boost marks.

Handle `IncreaseVolume` changes in `onAudioPropertiesChanged()` even when the default sink does not change.

Also at `panels/notification/osd/audio/audioapplet.cpp:127`.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

void AudioApplet::sync()
{
setVolumeValue(fetchVolume());
if (const auto sinkPath = fetchDefaultSinkPath())

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · OSD shows stale output state

When the DefaultSink read fails during an output switch or while an audio OSD request is being synced, AudioApplet::sync() leaves m_sinkPath and the displayed state unchanged; after an output switch, notifications from the new sink are ignored because their path does not match m_sinkPath, so the OSD shows stale output data.

Handle a failed DefaultSink read so the cached sink and displayed state cannot remain stale.

Also at panels/notification/osd/audio/audioapplet.cpp:125.

Prompt for AI agents
In `panels/notification/osd/audio/audioapplet.cpp` at line 80:

**OSD shows stale output state**

When the DefaultSink read fails during an output switch or while an audio OSD request is being synced, `AudioApplet::sync()` leaves `m_sinkPath` and the displayed state unchanged; after an output switch, notifications from the new sink are ignored because their path does not match `m_sinkPath`, so the OSD shows stale output data.

Handle a failed `DefaultSink` read so the cached sink and displayed state cannot remain stale.

Also at `panels/notification/osd/audio/audioapplet.cpp:125`.

m_muted = qdbus_cast<bool>(reply);
} else {
qWarning() << "Failed to fetch Mute" << reply.error();
m_muted.reset();

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Transient reads corrupt audio OSD

When an invalidated Mute or Volume property is re-read while the audio service returns a D-Bus error, readSinkState clears m_muted or stores fetchVolume’s 0.0 fallback instead of retaining the last valid value, so the visible OSD loses its icon or reports zero volume.

Keep the cached property value when its refresh fails, and update the OSD only with successfully read values.

Also at panels/notification/osd/audio/audioapplet.cpp:114.

Prompt for AI agents
In `panels/notification/osd/audio/audioapplet.cpp` at line 110:

**Transient reads corrupt audio OSD**

When an invalidated Mute or Volume property is re-read while the audio service returns a D-Bus error, `readSinkState` clears `m_muted` or stores `fetchVolume`’s `0.0` fallback instead of retaining the last valid value, so the visible OSD loses its icon or reports zero volume.

Keep the cached property value when its refresh fails, and update the OSD only with successfully read values.

Also at `panels/notification/osd/audio/audioapplet.cpp:114`.

sync();
}
return;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Progress scale stays outdated

When the audio service changes IncreaseVolume while the default sink stays the same, onAudioPropertiesChanged() returns without refreshing m_increaseVolume, so the visible OSD uses the old progress-bar scale and boost marks.

Handle IncreaseVolume changes in onAudioPropertiesChanged() even when the default sink does not change.

Also at panels/notification/osd/audio/audioapplet.cpp:127.

Prompt for AI agents
In `panels/notification/osd/audio/audioapplet.cpp` at line 128:

**Progress scale stays outdated**

When the audio service changes `IncreaseVolume` while the default sink stays the same, `onAudioPropertiesChanged()` returns without refreshing `m_increaseVolume`, so the visible OSD uses the old progress-bar scale and boost marks.

Handle `IncreaseVolume` changes in `onAudioPropertiesChanged()` even when the default sink does not change.

Also at `panels/notification/osd/audio/audioapplet.cpp:127`.

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 52cyb, wjyrich

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@52cyb

52cyb commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-ci-robot

deepin-ci-robot commented Dec 1, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: 44cc491b)

提示:以下为 OBS CI 构建中 Lintian 检测到的警告信息,默认折叠,点击展开查看详情。完整日志请参阅对应构建状态链接。

deepin_develop / aarch64 (Lintian 警告: 15 条)
[ 1017s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[ 1017s] N: 
[ 1017s] N:   The desktop entry specifies a Command that does not match any of the
[ 1017s] N:   executables shipped in the package.
[ 1017s] N:   
[ 1017s] N:   This condition is often caused by a typo, or the desktop file was not
[ 1017s] N:   updated after the installed path of the executable was modified.
[ 1017s] N:   
[ 1017s] N:   Packages should ship executables that are used as commands in desktop
[ 1017s] N:   files.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: menu-format
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/aarch64-linux-gnu/libds-notification-shared.so.6.2.2 [usr/lib/aarch64-linux-gnu/libds-notification-shared.so]
[ 1017s] N: 
[ 1017s] N:   Although this package is not a "-dev" package, it installs a
[ 1017s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[ 1017s] N:   library. When the link doesn't include the version number, it is used by
[ 1017s] N:   the linker when other programs are built against this shared library.
[ 1017s] N:   
[ 1017s] N:   Shared libraries are supposed to place such symbolic links in their
[ 1017s] N:   respective "-dev" packages, so it is a bug to include it with the main
[ 1017s] N:   library package.
[ 1017s] N:   
[ 1017s] N:   However, if this is a small package which includes the runtime and the
[ 1017s] N:   development libraries, this is not a bug. In the latter case, please
[ 1017s] N:   override this warning.
[ 1017s] N: 
[ 1017s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[ 1017s] N:   Manual for details.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: libraries/shared/links
[ 1017s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[ 1017s] N: 
[ 1017s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[ 1017s] N:   a manual page
[ 1017s] N:   
[ 1017s] N:   Note that though the man program has the capability to check for several
[ 1017s] N:   program names in the NAMES section, each of these programs should have its
[ 1017s] N:   own manual page (a symbolic link to the appropriate manual page is
[ 1017s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[ 1017s] N:   support this.
[ 1017s] N:   
[ 1017s] N:   If the name of the manual page differs from the binary by case, man may be
[ 1017s] N:   able to find it anyway; however, it is still best practice to match the
[ 1017s] N:   exact capitalization of the executable in the manual page.
[ 1017s] N:   
[ 1017s] N:   If the manual pages are provided by another package on which this package
[ 1017s] N:   depends, Lintian may not be able to determine that manual pages are
[ 1017s] N:   available. In this case, after confirming that all binaries do have manual
[ 1017s] N:   pages after this package and its dependencies are installed, please add a
[ 1017s] N:   Lintian override.
[ 1017s] N: 
[ 1017s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[ 1017s] N:   for details.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: documentation/manual
[ 1017s] N:   Renamed from: binary-without-manpage
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[ 1017s] N: 
[ 1017s] N:   When you NMU a package, that fact should be mentioned on the first line in
[ 1017s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[ 1017s] N:   insensitive).
[ 1017s] N:   
[ 1017s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1017s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1017s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1017s] N:   package (not intended for Debian), you can suppress this warning by
[ 1017s] N:   putting "local" in the version number or "local package" on the first line
[ 1017s] N:   of the changelog entry.
[ 1017s] N: 
[ 1017s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[ 1017s] N:   Developer's Reference for details.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: nmu
[ 1017s] N:   Renamed from: changelog-should-mention-nmu
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared6
[ 1017s] N: 
[ 1017s] N:   The package name of a library package should usually reflect the soname of
[ 1017s] N:   the included library. The package name can determined from the library
[ 1017s] N:   file name with the following code snippet:
[ 1017s] N:   
[ 1017s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[ 1017s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: libraries/shared/soname
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[ 1017s] N:
[ 1017s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[ 1017s] N:
[ 1017s] W: dde-shell source: source-nmu-has-incorrect-version-number 6.2.2+u001 [debian/changelog:1]
[ 1017s] N: 
[ 1017s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[ 1017s] N:   native package). This is to prevent stealing version numbers from the
[ 1017s] N:   maintainer.
[ 1017s] N:   
[ 1017s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1017s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1017s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1017s] N:   package (not intended for Debian), you can suppress this warning by
[ 1017s] N:   putting "local" in the version number or "local package" on the first line
[ 1017s] N:   of the changelog entry.
[ 1017s] N: 
[ 1017s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[ 1017s] N:   Developer's Reference for details.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: nmu
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell: unknown-section DDE
[ 1017s] N: 
[ 1017s] N:   The "Section:" field in this package's control file is not one of the
[ 1017s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[ 1017s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[ 1017s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[ 1017s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[ 1017s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[ 1017s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[ 1017s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[ 1017s] N:   
[ 1017s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[ 1017s] N:   "non-free-firmware/" if the package is in the according archive area.
[ 1017s] N: 
[ 1017s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[ 1017s] N:   details.
[ 1017s] N: 
[ 1017s] N:   Visibility: warning
[ 1017s] N:   Show-Always: no
[ 1017s] N:   Check: fields/section
[ 1017s] N: 
[ 1017s] N:
[ 1017s] W: dde-shell-example: unknown-section DDE
[ 1017s] N:
[ 1017s] W: libdde-shell: unknown-section DDE
[ 1017s] N:
[ 1017s] W: libdde-shell-dev: unknown-section DDE
[ 1017s] N:
[ 1017s] W: libdde-shell-dock: unknown-section DDE
[ 1017s] N:
[ 1017s] W: libdde-shell-dock-dev: unknown-section DDE
[ 1017s] Warning: mkbaselibs missing in build root, skipping baselibs
deepin_develop / x86_64 (Lintian 警告: 15 条)
[  486s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[  486s] N: 
[  486s] N:   The desktop entry specifies a Command that does not match any of the
[  486s] N:   executables shipped in the package.
[  486s] N:   
[  486s] N:   This condition is often caused by a typo, or the desktop file was not
[  486s] N:   updated after the installed path of the executable was modified.
[  486s] N:   
[  486s] N:   Packages should ship executables that are used as commands in desktop
[  486s] N:   files.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: menu-format
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/x86_64-linux-gnu/libds-notification-shared.so.6.2.2 [usr/lib/x86_64-linux-gnu/libds-notification-shared.so]
[  486s] N: 
[  486s] N:   Although this package is not a "-dev" package, it installs a
[  486s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  486s] N:   library. When the link doesn't include the version number, it is used by
[  486s] N:   the linker when other programs are built against this shared library.
[  486s] N:   
[  486s] N:   Shared libraries are supposed to place such symbolic links in their
[  486s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  486s] N:   library package.
[  486s] N:   
[  486s] N:   However, if this is a small package which includes the runtime and the
[  486s] N:   development libraries, this is not a bug. In the latter case, please
[  486s] N:   override this warning.
[  486s] N: 
[  486s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  486s] N:   Manual for details.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: libraries/shared/links
[  486s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  486s] N: 
[  486s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  486s] N:   a manual page
[  486s] N:   
[  486s] N:   Note that though the man program has the capability to check for several
[  486s] N:   program names in the NAMES section, each of these programs should have its
[  486s] N:   own manual page (a symbolic link to the appropriate manual page is
[  486s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  486s] N:   support this.
[  486s] N:   
[  486s] N:   If the name of the manual page differs from the binary by case, man may be
[  486s] N:   able to find it anyway; however, it is still best practice to match the
[  486s] N:   exact capitalization of the executable in the manual page.
[  486s] N:   
[  486s] N:   If the manual pages are provided by another package on which this package
[  486s] N:   depends, Lintian may not be able to determine that manual pages are
[  486s] N:   available. In this case, after confirming that all binaries do have manual
[  486s] N:   pages after this package and its dependencies are installed, please add a
[  486s] N:   Lintian override.
[  486s] N: 
[  486s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  486s] N:   for details.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: documentation/manual
[  486s] N:   Renamed from: binary-without-manpage
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  486s] N: 
[  486s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  486s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  486s] N:   insensitive).
[  486s] N:   
[  486s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  486s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  486s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  486s] N:   package (not intended for Debian), you can suppress this warning by
[  486s] N:   putting "local" in the version number or "local package" on the first line
[  486s] N:   of the changelog entry.
[  486s] N: 
[  486s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  486s] N:   Developer's Reference for details.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: nmu
[  486s] N:   Renamed from: changelog-should-mention-nmu
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared6
[  486s] N: 
[  486s] N:   The package name of a library package should usually reflect the soname of
[  486s] N:   the included library. The package name can determined from the library
[  486s] N:   file name with the following code snippet:
[  486s] N:   
[  486s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  486s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: libraries/shared/soname
[  486s] N: 
[  486s] N:
[  486s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  486s] N:
[  486s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  486s] N:
[  486s] W: dde-shell source: source-nmu-has-incorrect-version-number 6.2.2+u001 [debian/changelog:1]
[  486s] N: 
[  486s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  486s] N:   native package). This is to prevent stealing version numbers from the
[  486s] N:   maintainer.
[  486s] N:   
[  486s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  486s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  486s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  486s] N:   package (not intended for Debian), you can suppress this warning by
[  486s] N:   putting "local" in the version number or "local package" on the first line
[  486s] N:   of the changelog entry.
[  486s] N: 
[  486s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  486s] N:   Developer's Reference for details.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: nmu
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell: unknown-section DDE
[  486s] N: 
[  486s] N:   The "Section:" field in this package's control file is not one of the
[  486s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  486s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  486s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  486s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  486s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  486s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  486s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  486s] N:   
[  486s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  486s] N:   "non-free-firmware/" if the package is in the according archive area.
[  486s] N: 
[  486s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  486s] N:   details.
[  486s] N: 
[  486s] N:   Visibility: warning
[  486s] N:   Show-Always: no
[  486s] N:   Check: fields/section
[  486s] N: 
[  486s] N:
[  486s] W: dde-shell-example: unknown-section DDE
[  486s] N:
[  486s] W: libdde-shell: unknown-section DDE
[  486s] N:
[  486s] W: libdde-shell-dev: unknown-section DDE
[  486s] N:
[  486s] W: libdde-shell-dock: unknown-section DDE
[  486s] N:
[  486s] W: libdde-shell-dock-dev: unknown-section DDE
[  486s] Warning: mkbaselibs missing in build root, skipping baselibs

@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 6.2.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1915

@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

TAG Bot

New tag: 6.2.2
DISTRIBUTION: unstable
Suggest: synchronizing this PR through rebase #1919

1. Dispatch OSD requests immediately by removing the fixed 100 ms delay.
2. Read display state on open. Advance the checkmark from the cached list
   on repeat presses and apply the final selection after two seconds.
3. Retry failed list reads. Start from the first item if the active mode
   or primary output is unknown.
4. Update audio OSD from Volume and Mute notifications. Refresh volume,
   mute and the volume boost setting when the default output changes.

Log: Improve Super+P checkmark response and refresh audio OSD on changes

Influence:
1. Verify the first Super+P press shows the active display mode.
2. Hold Super and tap P repeatedly. Verify the checkmark advances and
   only the final selection is applied after two seconds.
3. Verify recovery after a failed display list or mode read.
4. Test volume up from zero, mute and switching the default audio output
   while the OSD is visible. Check the progress bar and 100% mark.

fix(osd): 加快 Super+P 切换显示模式时的勾选更新

1. 移除 OSD 固定的 100 ms 延时,收到请求后立即派发。
2. 首次打开读取显示状态,连按时用缓存列表推进勾选,
   停按两秒后应用最后选中的模式。
3. 候选列表读取失败时重试,当前模式或主屏未知时从首项开始轮选。
4. 根据音量和静音通知补刷音量 OSD,默认输出切换时同时刷新
   音量、静音和音量增强设置。

Influence:
1. 首按 Super+P,确认面板勾选当前模式。
2. 按住 Super 连按 P,确认勾选逐次推进,停按两秒只应用最后一项。
3. 验证候选列表或实际模式读取失败后仍能恢复轮选。
4. 验证音量从零回升、静音和面板可见时切换默认输出,
   检查进度条和 100% 刻度是否正确。

Log: 加快 Super+P 勾选更新,并在音量状态变化后补刷面板
PMS: BUG-383567
@52cyb
52cyb force-pushed the tmp/bug-383567-super-p-2500u3 branch from a7bf793 to 44cc491 Compare December 2, 2026 03:03
@52cyb

52cyb commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot
deepin-bot Bot merged commit 110e957 into linuxdeepin:develop/2500u3 Dec 2, 2026
9 of 13 checks passed
@deepin-bot

deepin-bot Bot commented Dec 2, 2026

Copy link
Copy Markdown

This pr force merged! (status: blocked, merge_method: rebase)

@52cyb
52cyb deleted the tmp/bug-383567-super-p-2500u3 branch December 2, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants